package tedu.study.ooday05_2;


//alt+insert:快捷生成构造器，getter/setter方法，equals/toString/hashCode方法
//IOS系统:Command+N
//空白区域点击鼠标右键，选择Generate,也能弹出窗口
public class Student {
    String name;
    int age;
    String address;

    public Student(String name, int age, String address) {
        this.name = name;
        this.age = age;
        this.address = address;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
